
import java.io.Serializable;
import de.gulden.util.javasource.jjt.ParseException;
import java.rmi.*;
import java.rmi.server.*;
import java.rmi.registry.*;

public class RMISimple extends UnicastRemoteObject implements Serializable, IFSimple
{    public RMISimple() throws RemoteException {

    }

    public void simmmmmple() throws ParseException, RemoteException {
        System.out.println("simmmmmple");
    }

    public static void main(String[] args) throws RemoteException {
        Registry registry = LocateRegistry.createRegistry(Integer.parseInt(args[0]));
        try{
        IFSimple facade = new RMISimple();
        registry.rebind("IFSimple", facade);
        } catch (Exception ex){ ex.printStackTrace(); }

    }

} // end RMISimple
